home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-21 / maxwin.zip / MAXWIN.TEC < prev   
Text File  |  1992-08-03  |  9KB  |  220 lines

  1. ID:XS DESQview/X:  Maximizing Window Size
  2. Quarterdeck Technical Note #252
  3. by Al Huck
  4. Last Revised:  August 3, 1992
  5.  
  6.  
  7.  
  8. HOW CAN I FIND OUT HOW MUCH MEMORY EACH WINDOW CAN HAVE?
  9.  
  10. Select the Memory Status program in DESQview/X.  "Largest Available Expanded
  11. Memory" will tell you how large a window you can open in DESQview/X.
  12.  
  13.                       Total     Total       Largest
  14.                       Memory    Available   Available
  15.  
  16. Common Memory         20480      11716        8848
  17.  
  18. Conventional Memory    594K        91K         88K
  19.  
  20. Expanded Memory       2704K      2464K    --- 528K ----
  21.  
  22.  
  23. The biggest window size for the above example is 528K.  The examples in this
  24. technote will describe how you can get even bigger window sizes.  After trying
  25. each suggestion in this technote open the memory status screen and refer to
  26. this field.
  27.  
  28.  
  29. HOW CAN I GET BIGGER WINDOW SIZES IN DESQVIEW/X?
  30.  
  31. DESQview/X will take between 164K to 300k of the 1st megabyte of ram when it
  32. is loaded.  Window sizes in DESQview/X are very dependent on where it loads.
  33. We will first look at how DESQview/X loads and how to get better results from
  34. the way it loads by its use of High RAM and the HMA.
  35.  
  36. DESQview/X will first load itself in the HMA if available.  Next, it will load
  37. itself in the unused portions of High RAM in the address space above
  38. conventional memory and below 1024K.  After all the High RAM is filled, it
  39. will then load itself into conventional memory.
  40.  
  41. Most IBM compatibles will have the following memory map.  This example shows
  42. 128k of High RAM.  Computers with network boards that use Adapter RAM or IBM
  43. PS/2s will have even less High RAM.  The following examples are going to help
  44. maximize the use of High RAM.
  45.  
  46. 0k    ======================  0000
  47.  
  48.  
  49.  
  50.  
  51.  
  52.        Conventional Memory
  53.               640k
  54.  
  55.  
  56.  
  57.  
  58.  
  59. 640k  ======================  A000
  60.        EGA/VGA Graphics 64k
  61.  
  62. 704k  ----------------------  B000
  63.        High RAM 32k
  64. 736k  ----------------------  B800
  65.        EGA/VGA Text 32k
  66. 768k  ----------------------  C000
  67.        Video ROM 32k
  68. 800k  ----------------------  C800   Reserved Area
  69.  
  70.        High RAM 96k
  71.  
  72. 896k  ----------------------  E000
  73.        Page Frame 64k
  74.  
  75. 960k  ----------------------  F000
  76.        System ROM Bios 64k
  77.  
  78. 1024k ======================  F0000
  79.        HMA 1st 64k of
  80.        Extended Memory               HMA
  81. 1088k ----------------------  11000
  82.  
  83.  
  84. 1. USING STEALTH TO FREE CONVENTIONAL MEMORY.
  85.  
  86. High RAM is used to load device drivers and TSRs high.  This will diminish the
  87. original 128k even more.  However, since QEMM-386 is included with DESQview/X,
  88. we can reclaim the areas used by ROMs.  This can be done by typing the
  89. following command at the DOS prompt.
  90.  
  91. OPTIMIZE /ST
  92.  
  93. This will run Optimize with QEMM-386's STEALTH feature and will give extra
  94. High RAM to DESQview/X.  This one suggestion will give more conventional
  95. memory to each window in DESQview/X.
  96.  
  97. If you have any problems using the STEALTH feature, download our stealth
  98. trouble-shooting technote #205 from our QFAX service (310) 314-3214 or from
  99. our BBS if you have a modem (310) 314-3227.
  100.  
  101. 2.  GETTING DESQVIEW/X TO USE THE HMA.
  102.  
  103. DESQview/X will use 63k of the 64k HMA.  However, DESQview/X cannot use the
  104. HMA if something else is using it, such as DOS 5's DOS=HIGH option.  DOS only
  105. uses from 35k to 60k depending on how many buffers are loaded.
  106.  
  107. If there is a lot of available High RAM, it may be better to add DOS=HIGH to
  108. your CONFIG.SYS file if you are running DOS 5 or add HIDOS=ON if you are using
  109. DR DOS 6.  Check to see which gives you more memory by checking "Largest
  110. Available for Expanded Memory" in Memory Status while in DESQview/X.  Use the
  111. configuration that gives you the best results.
  112.  
  113. 3. REMOVING UNNECESSARY DEVICE DRIVERS AND TSRS.
  114.  
  115. If you are loading many device drivers or TSRs, they will have a direct impact
  116. on the window size.  TSRs like DOSKEY or Sidekick should be removed from the
  117. AUTOEXEC.BAT and loaded in a DESQview/X window when needed.
  118.  
  119. Device drivers as disk caches or ramdrives also use memory in the first meg.
  120. Try removing them and see the results you get.  You may find that the benefit
  121. of additional memory outweighs the gains provided by using such utilities.
  122. Arriving at optimal performance will require you to decide which features are
  123. more important than others.
  124.  
  125. Network drivers can also be changed to get better results.  An example is
  126. Novell's NETX.COM.  It has a couple of replacements that can be used instead
  127. of NETX.COM.  EMSNETX.COM will use far less memory in the 1st meg then
  128. NETX.COM and will use expanded memory.  It would also be a good idea to use
  129. the version-specific net shell if you are using DOS 5 (EMSNET5).  It will even
  130. use less memory then EMSNETX.  Contact your network administrator for
  131. alternatives.
  132.  
  133. 4. 8514 VIDEO CARDS
  134.  
  135. If you have the 8514 video card you can use VIDRAM.  This will provide an
  136. additional 64K-96K of conventional memory.  If your 8514 card requires a
  137. driver then it is not hardware compatible and this process may not work.
  138.  
  139. First, add the VREMS to the QEMM386.SYS line in the Config.sys file.
  140.  
  141. DEVICE=C:\QEMM\QEMM386.SYS RAM VREMS
  142.  
  143. Next, add the following line to the AUTOEXEC.BAT file to activate VIDRAM:
  144.  
  145. C:\QEMM\VIDRAM ON
  146.  
  147. This line will activate VIDRAM and extend conventional memory.  When you start
  148. DESQview/X, it will report "GRFVGA.DVR does not find the correct video
  149. adapter".  You may safely ignore this message; DESQview/X should function
  150. properly.
  151.  
  152. 5. GETTING DESQVIEW/X TO USE LESS MEMORY IN THE FIRST MEGABYTE.
  153.  
  154. The DESQview/X setup program will allow you to change the amount "Common
  155. Memory", "DOS I/O Buffers" in K and "Network Buffers" in K.  To adjust the
  156. following settings, type SETUP from the DVX directory, select "Advanced
  157. Options", then select "Tune Performance".
  158.  
  159. Common Memory          32K
  160. DOS I/O Buffer          8K
  161. Network Buffer         20K  (Only if using the Network Support)
  162.  
  163. The above settings can be changed for less DESQview/X overhead.  Changing
  164. these settings may not have any immediate effect because expanded memory is
  165. mapped in 16K increments, so decreasing the common memory by 1K will not make
  166. any difference unless your memory usage is on the 16K threshold.  These
  167. numbers can be decreased until the amount saved goes up 16K.
  168.  
  169. Common Memory - Decreasing this field can affect the number of windows
  170.                 you can open, and DESQview/X's speed.
  171.  
  172.  DOS I/O Buffer - When you use a setting of "0" QEMM-386 handles all the
  173.                   buffering of DMA into mapped windows with an essentially
  174.                   unlimited DMA buffer.  This is faster than the way
  175.                   DESQview/X handles DMA into mapped windows and uses no
  176.                   conventional memory.  Any user who can set this to "0" and
  177.                   work successfully should.
  178.  
  179. Network Buffer - Only programs that make direct IPX or NETBIOS calls need this
  180.                  feature.  Only programs written specifically to use the
  181.                  facilities of the network software do this.  Most commercial
  182.                  software does not.  The remote computing feature of
  183.                  DESQview/X does.  If you do not have any programs that are
  184.                  making IPX or NETBIOS calls set the Virtualize Network field
  185.                  to "None".  DESQview/X does not load a Network Buffer if it
  186.                  does not virtualize a network.  If you run DESQview/X on a
  187.                  system that is not on a network set the Virtualize Network
  188.                  field to "None".
  189.  
  190. Font Cache - The Font Cache is not pulled out of conventional memory and
  191.              decreasing the value will not allow you to have bigger window
  192.              sizes.
  193.  
  194.  
  195. HOW DO THE CUSTOMIZE MENU SETTINGS AFFECT THE WINDOW SIZE?
  196.  
  197. Some settings in the Program Information File (PIF or .DVP) can effect the
  198. window size.  For the lowest memory overhead, set "System Memory (in K)" to
  199. "0" and set "Text Page" to "1".
  200.  
  201. System Memory (in K) - This field will shrink the window size in K by the
  202.                        value in this field.
  203.  
  204. Text Pages - Each additional Text Page will use 4K more.
  205.  
  206.  
  207. I WENT THROUGH THIS TECHNICAL NOTE AND IT DIDN'T HELP ME, WHAT SHOULD I DO?
  208.  
  209. All the above suggestions should help increase the window sizes in DESQview/X.
  210. If you have any further questions, contact Quarterdeck Technical Support at
  211. (310) 392-9701.
  212.  
  213.   ************************************************************************
  214.   *          Trademarks are property of their respective owners.         *
  215.   *This technical note may be copied and distributed freely as long as it*
  216.   *is distributed in its entirety and it is not distributed for profit.  *
  217.   *          Copyright (C) 1992 by Quarterdeck Office Systems            *
  218.   ************************ E N D   O F   F I L E *************************
  219.  
  220.